<div data-page="clientManage_financeSituation" class="content4 content41 page" id="clientManage_financeSituation">
	<p class="location">
		当前位置:
		<label class="locationInfo nav_active">企业用户管理</label>
	</p>
	<div class="df3">
		<span class="span1">
			<a class="enterpriseInfo nav_active">企业基本信息</a>
		</span>
		<span class="span3" style="margin-right: 20px;">|</span>
		<span class="span2">
			<a class="financeEvidentiary nav_active">证明材料</a>
		</span>
		<span class="span3" style="margin-right: 20px;">|</span>
		<span class="span2">
			<a class="financeSituation nav_active">融资情况</a>
		</span>
		<span class="span3">|</span>
		<span class="span2">
			<a href="javascript:void(0)" class="financeBelongs nav_active">我的客户</a>
		</span>
		<span class="span3">|</span>
		<span class="span2">
			<a href="javascript:void(0)" class="authenticationState nav_active">实名认证</a>
		</span>
		<div class="auditState"><a class="auditStateYes">认证通过</a><a class="auditStateNo" href="javascript:void(0);">认证不通过</a></div>

		<label class="button_cancel"></label>
	</div>
	<div class="panel3_left fl1"></div>
	<div class="panel3_right fl1"></div>
	<div class="tabSituation">
		<div class="clear"></div>
		<div class="situationNav"><a situationTab="situationTab1" class="situationNav-active">汇总信息</a><a situationTab="situationTab2">进行中</a><a situationTab="situationTab3">已关闭</a></div>
		<div class="situationTab1 situationTab">
			<div class="basic_info_title">
				<span>融资项目情况</span>
				<span class="spanLine"></span>
			</div>
			<div class="situationContent">
				<div class="situationRound situationRound1">
					<p class="roundTitle">历史融资总数</p>
					<p class="roundNumber"><span class="data" name="financeCount">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail1" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound2">
					<p class="roundTitle">进行中的融资</p>
					<p class="roundNumber"><span class="data" name="progressing">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail2" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound3">
					<p class="roundTitle">融资异常次数</p>
					<p class="roundNumber"><span class="data" name="abnormal">0</span>笔</p>
					<p class="roundTip"><a class="applyDetail3" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound4">
					<p class="roundTitle">赎货次数</p>
					<p class="roundNumber"><span class="data" name="redeem">0</span>次</p>
					<p class="roundTip"><a class="applyDetail4" target="_blank">查看</a></p>
				</div>
			</div>
			<div class="situationContent">
				<div class="situationRound situationRound1">
					<p class="roundTitle">延期还款次数</p>
					<p class="roundNumber"><span class="data" name="pickupDelay">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound2">
					<p class="roundTitle">延缓计息次数</p>
					<p class="roundNumber"><span class="data" name="interestDelay">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound3">
					<p class="roundTitle">货物被扣次数</p>
					<p class="roundNumber"><span class="data" name="detained">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
				<div class="situationRound situationRound4">
					<p class="roundTitle">不良资产处置</p>
					<p class="roundNumber"><span class="data" name="badassets">0</span>次</p>
					<p class="roundTip"><a class="applyDetail" target="_blank">查看</a></p>
				</div>
			</div>
			<div class="tabSituation">
				<div class="basic_info_title">
					<span>融资金额情况</span>
					<span class="spanLine"></span>
				</div>
				<div class="clear"></div>
				<div class="situationContent">
					<div class="situationRound situationRound5">
						<p class="roundTitle">历史融资总额</p>
						<p class="roundNumber"><span class="data" name="financeAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="financeCount">0</span>笔融资</p>
					</div>
					<div class="situationRound situationRound6">
						<p class="roundTitle">进行中借款金额</p>
						<p class="roundNumber"><span class="data" name="totalLoanAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="progressing">0</span>笔进行中的借款</p>
					</div>

					<div class="situationRound situationRound7">
						<p class="roundTitle">提货还款金额</p>
						<p class="roundNumber"><span class="data" name="totalRepayAmount">0</span></p>
						<p class="roundTip">含<span class="data" name="pickupCount">0</span>笔提货</p>
					</div>
				</div>
			</div>
			
			<div class="tabSituation">
				<div class="basic_info_title">
					<span>授信额度情况</span>
					<span class="spanLine"></span>
				</div>
				<div class="clear"></div>
				<div class="situationContent">
					<div class="situationRound situationRound5">
						<p class="roundTitle">综合授信额度</p>
						<p class="roundNumber"><span class="data" name="creditLine">0</span></p>
						<p class="roundTip"><span class="data" name="">&nbsp;</span></p>
					</div>
					<div class="situationRound situationRound6">
						<p class="roundTitle">已用额度</p>
						<p class="roundNumber"><span class="data" name="creditLineAlready">0</span></p>
						<p class="roundTip">共<a class="applyDetail2" href="javascript:void(0);"><span class="data" name="progressing">0</span></a>笔</p>
					</div>

					<div class="situationRound situationRound7">
						<p class="roundTitle">剩余额度</p>
						<p class="roundNumber"><span class="data" name="residueCreditLine">0</span></p>
						<p class="roundTip"><span class="data" name="">&nbsp;</span></p>
					</div>
				</div>
			</div>
		</div>
		<div class="situationTab2 situationTab none">
			<div class="situationDataContent">
				<div class="situationDataBlock">
					<div class="fl">
						货物总值：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="bulkstockAmount">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						贷款总额：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="financeAmount">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						授信额度：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="creditLine">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						可用额度：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="creditLineRemain">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						已放款总额：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="disbursementAmount">0.00</span></span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						已回款总额：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="receiptAmount">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						待回款总额：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="waitReceipt">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						在押货物总额：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="inCustodyBulkstockAmount">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						舱单质押总额：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="financeAmount2">0.00</span></span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						代理采购总额：
					</div><div class="fr">
						<span>&#65509;<span formatC="1" class="data" name="financeAmount5">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						代理销售总额：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="financeAmount6">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						商业保理总额：
					</div><div class="fr">
							<span>&#65509;<span formatC="1" class="data" name="">0.00</span></span>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						舱单质押融资：
					</div><div class="fr" productType="2">
						<a href="javascript:void(0);" class="showFinanceList"><span class="data" name="financeNumber2">0</span>笔</a>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						代理采购融资：
					</div><div class="fr" productType="5">
						<a href="javascript:void(0);" class="showFinanceList"><span class="data" name="financeNumber5">0</span>笔</a>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						代理销售融资：
					</div><div class="fr" productType="6">
							<a href="javascript:void(0);" class="showFinanceList"><span class="data" name="financeNumber6">0</span>笔</a>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl">
						商业保理融资：
					</div><div class="fr" productType="7">
							<a href="javascript:void(0);" class="showFinanceList"><span class="data" name="">0</span>笔</a>
					</div>
				</div>
			</div>

			<table id="situationDataTableBody">
				<thead>
				<tr>
					<th>No</th>
					<th>融资编号</th>
					<th>货物</th>
					<th>业务类型</th>
					<th>质押数量</th>
					<th>估值单价</th>
					<th>估值金额</th>
					<th>放款审批金额</th>
					<th>质押单价</th>
					<th>在押数量</th>
					<th>质押率</th>
					<th>费率</th>
					<th>用款周期</th>
					<th>保证金比例</th>
					<th>实际放款金额</th>
					<th>实际回款金额</th>
					<th>待回款金额</th>
					<th>状态</th>
				</tr>
				</thead>
				<tbody>
				</tbody>
			</table>
			<div class="pagerCon"></div>
			<script type="text/template" id="situationDataTableTpl">
				{@each datas as it, index}
				<tr>
					<td>${index*1+1}</td>
					<td>${it.financeNumber}</td>
					<td>${it.bulkstockName}(${it.specification})</td>
					<td>${getValueByKey(7, it.productType)}</td>
					<td>${it.weight}</td>
					<td>${formatCurrency(it.evaluatePrice)}</td>
					<td>${formatCurrency(it.evaluation)}</td>
					<td>${formatCurrency(it.financeAmount)}</td>
					<td>${formatCurrency(it.financePrice)}</td>
					<td>${it.inCustody}</td>
					<td>${it.pledgeRate*100}%</td>
					<td>${it.interestRate}%</td>
					<td>${it.financeDays}</td>
					<td>${it.bailRate}%</td>
					<td>${formatCurrency(it.loanAmount)}</td>
					<td>${formatCurrency(it.receiptAmount)}</td>
					<td>${formatCurrency(it.waitReceipt)}</td>
					<td>${getValueByKey(30, it.financeState)}</td>
				</tr>
				{@/each}
			</script>
		</div>
		<div class="situationTab3 situationTab none">
			<div class="situationDataContent">
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史贷款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="totalLoanAmount">0</span></span>
						</div>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史异常费用：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="hisAbnormalAmount">0</span></span>
						</div>
					</div>
				</div>
				<div class="situationDataBlock">
					<div class="fl" style="width: 58%;">
						历史还款总额：
					</div>
					<div class="fr" style="width: 42%;padding-right: 0px;">
						<div class="fr">
							<span>&#65509;<span class="data" name="totalRepayAmount">0</span></span>
						</div>
					</div>
				</div>
				<br />
			</div>
			<table id="situationDataTableBody1">
			</table>
			<div class="pagerCon"></div>
			<script type="text/template" id="situationDataTableTpl1">
				<tr>
					<th>&nbsp;&nbsp;&nbsp;&nbsp;融资编号</th>
					<th>货物</th>
					<th>货物估值|估值单价</th>
					<th>贷款额度</th>
					<th>在押|金额</th>
					<th>待收回金额</th>
					<th>已经放款</th>
					<th>已收款</th>
				</tr>
				{@each datas as it}
				<tr>
					<td>&nbsp;&nbsp;&nbsp;&nbsp;${it.financeNumber}</td>
					<td>
						{@each it.bulkstocks as item} ${item.bulkstockName}(${item.specification})
						<br /> {@/each}
					</td>
					<td>
						{@each it.bulkstocks as item} ￥${item.bulkstockValuation} | ${item.bulkstockPrice}/${item.unit}
						<br /> {@/each}
					</td>
					<td>￥${it.financeAmount}</td>
					<td>
						{@each it.bulkstocks as item}
						<span>${item.incustody}(${item.unit}) |
								￥${(item.incustody * item.bulkstockPrice).toFixed(2)}</span>
						<br /> {@/each}
					</td>
					<td>￥${it.totalLoanAmount-it.totalReceivedAmount}</td>
					<td>￥${it.totalLoanAmount}</td>
					<td>￥${it.totalReceivedAmount}</td>
				</tr>
				{@/each}
			</script>
		</div>
	</div>
	<div class="clear"></div>
</div>
